<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>大帅逼组教育系统演示</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <%--签到用，勿删--%>
    <script src="/static/js/plugins/jquery-easyu/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyu/jquery.easyui.min.js"></script>
    <%--<script src="/static/js/jquery.js"></script>--%>

    <link rel="stylesheet" href="/static/js/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/admin.css" media="all">
    <link rel="stylesheet" href="/static/js/plugins/font-awesome/css/font-awesome.min.css">
    <script src="/static/js/layui/layui.js"></script>
    <script src="/static/js/lib/view.js"></script>
    <script src="/static/js/jquery.cookie.js"></script>
    <script src="/static/js/lib/index.js"></script>
    <script src="/static/js/main.js"></script>

    <style>
        /*lock*/
        .admin-header-lock {
            width: 320px;
            height: 150px;
            padding: 20px;
            position: relative;
            text-align: center;
        }

        .admin-header-lock-img {
            width: 60px;
            height: 60px;
            margin: 0 auto;
        }

        .admin-header-lock-img img {
            width: 60px;
            height: 60px;
            border-radius: 100%;
        }

        .admin-header-lock-name {
            color: #009688;
            margin: 8px 0 15px 0;
        }

        .admin-header-lock-input {
            width: 150px;
            color: #FFFFFF;
            height: 30px;
            border: 0;
            background-color: #009688;
            padding: 0 7px;
            border-radius: 2px;
        }
    </style>
</head>
<body class="layui-layout-body">
<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <!-- 头部区域 -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layadmin-flexible" lay-unselect>
                    <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                        <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" title="全屏">
                        <i class="layui-icon layui-icon-website" id="admin-side-full"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a title="签到" onclick="signinTime()">
                        <i>签到</i>
                    </a>
                    <%--<a href="javascript:;" class="public-header-loginout" onclick="signinTime();">签到</a>&nbsp;&nbsp;--%>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <%--<a href="javascript:;" class="public-header-loginout" onclick="signoutTime();">签退</a>&nbsp;&nbsp;--%>
                    <a title="签退" onclick="signoutTime()">
                        <i>签退</i>
                    </a>
                </li>
            </ul>

            <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right" style="margin-right: 30px;">
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" id="video">
                        <i class="layui-icon layui-icon-video"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="tencent://message/?Menu=yes&uin=800185517&Service=58&SigT=2AEA377E4A73CD6423B6A7946B1C5A249FA8E6A809DE5CD46CE4D7267C7346CA1035C7686405AF8F867A30F619EE8E348CEF839B162C3878C7A5AC44661CFB17ECFE28E93C1AC0C67751EB570F95E0558AE024BB09E7040EC025F5D944A6EE71226DE1EC97BA1C40D6C2CF4A525CE32A8719B4D75B91B13D&SigU=8E4E9FD64C0077AC675E73E5904DB5A96DE3BE27D0C8BA1445AE699572B2A444BFBE64B6784BFE56CB41C495FF232B80E1C36F176C64CF13A07C6C35CCFC17F1E69BF079FA5C7B2F">
                        <i class="layui-icon layui-icon-login-qq"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a layadmin-event="node" lay-text="标签">
                        <i class="layui-icon layui-icon-note"></i>
                    </a>

                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;">
                        <cite><shiro:principal property="username"/></cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 个人信息</a>
                        </dd>
                        <dd id="lock">
                            <a href="javascript:;">
                                <i class="fa fa-lock" aria-hidden="true"
                                   style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
                            </a>
                        </dd>
                        <dd>
                            <a href="/logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>

        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
            <div class="layui-side-scroll">
                <div class="layui-logo" lay-href="/static/index/index.html">
                    <span>教育系统</span>
                </div>

                <ul class="layui-nav layui-nav-tree" id="LAY-system-side-menu"
                    lay-filter="layadmin-system-side-menu">
                </ul>
            </div>
        </div>

        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs">
            <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-down">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                            <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                            <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                <ul class="layui-tab-title" id="LAY_app_tabsheader">
                    <li lay-id="console.html" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
                </ul>
            </div>
        </div>


        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe src="/static/index/index.html" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>


        <!--锁屏模板 start-->
        <script type="text/template" id="lock-temp">
            <div class="admin-header-lock" id="lock-box">
                <div class="admin-header-lock-img">
                    <%--<img src="images/0.jpg"/>--%>
                </div>
                <div class="admin-header-lock-name" id="lockUserName"><shiro:principal property="username"/></div>
                <input type="password" class="admin-header-lock-input" placeholder="输入密码解锁.." name="lockPwd"
                       id="lockPwd"/>
                <button class="layui-btn layui-btn-sm" id="unlock">解锁</button>
            </div>
        </script>
        <!--锁屏模板 end -->

    </div>
</div>


</body>
</html>